package cc.zy.base.hr.mapper;

import cc.zy.base.hr.entity.Lecturer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * 标签
 * Mapper
 *
 * @author Jiangjinlin
 * @date 2021-01-18 10:51:13
 */
public interface InsideTeacherMapper extends BaseMapper<Lecturer> {

    /**
    * @Author: PW
    * @Description: 分页/条件查询
    * @DateTime: 2022/3/8 22:00
    * @Params: [page, outsideTeacher]
    * @Return com.baomidou.mybatisplus.core.metadata.IPage<cc.zy.base.hr.entity.StaffLabel>
    */
    <T> IPage<Lecturer> listInsideTeacherDetailPage(Page<T> page, @Param("lecturer") Lecturer lecturer);

    /**
    * @Author: PW
    * @Description: 查询总条数
    * @DateTime: 2022/3/8 22:09
    * @Params: [outsideTeacher]
    * @Return long
    */
    long countInsideTeacherDetail(@Param("lecturer") Lecturer lecturer);
}